package com.example.forum.dto;

import lombok.Data;


import javax.validation.constraints.Pattern;
//更新信息
@Data
public class UpdateUser {


    @Pattern(regexp = "^1[3-9][0-9]{9}$",message = "手机号不符合格式")
    private String mobile;

    private String nickname;

    private String password;




}


